import User from './components/user/User.vue';
import Home from './components/Home.vue';
import News from './components/news/News.vue';
import NewsCate from './components/news/NewsCate.vue';
import Cate from '@/components/cate/Cate.vue';
import Upload from './components/upload/Upload.vue';
import Product from './components/product/product'

export const routes = [
	{ path:'/',component:Home },
	{ path:'/user',component:User },
	{ path:'/news',components:{
		default:News,
		"newscate":NewsCate
	} },
	{ path:'/cate',component:Cate},
	{ path:'/upload',component:Upload }	,
	{ path:'/product',component:Product }	
];

